package saas.dev.clouduserprovide.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import saas.dev.clouduserprovide.service.UserTestService;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName : UserTestController
 * @Author : y1
 * @Date: 2021/4/29 00:08
 * @Description : 用户 生产者接口
 */
@RestController
public class UserTestController {
    @Autowired
    private UserTestService userTestService;

    /**
     * 测试接口
     *
     * @return
     */
    @GetMapping("/test")
    public String userTest(HttpServletRequest request, String str) {
        return userTestService.userTest(request);
    }

    public String userTest1() {
        return "1";
    }

    public String userTest2() {
        return "1";
    }
}
